package bean;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class ZkConfig{

    private String ipAddr;
    private ConnectType type = ConnectType.SINGLE;
    private int connectTimeOut;
    private int sessionTimeOut;
    private int retryNum;
    private int retryOnceTime;

    enum ConnectType {
        SINGLE,CLUSTER
    }

}
